public class Training02 {
    public static void main(String[] args) {
        int sum1 = ayy(1,4);
        double sum2 = ayy(1.2,1.3);
        System.out.println("sum1 = " + sum1);
        System.out.println("sum2 = " + sum2);
    }
    public static int ayy(int x,int y){
        return x * y /2;
    }
    public static double ayy(double x,double y){
        return x * y /2;
    }
}
